package request

import (
	"gitee.com/cjsn/topsdk/util"
)

type TmallServicecenterTaskQueryrefundRequest struct {
	/*
	   工单id列表     */
	WorkcardList *[]int64 `json:"workcard_list" required:"true" `
}

func (s *TmallServicecenterTaskQueryrefundRequest) SetWorkcardList(v []int64) *TmallServicecenterTaskQueryrefundRequest {
	s.WorkcardList = &v
	return s
}

func (req *TmallServicecenterTaskQueryrefundRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.WorkcardList != nil {
		paramMap["workcard_list"] = util.ConvertBasicList(*req.WorkcardList)
	}
	return paramMap
}

func (req *TmallServicecenterTaskQueryrefundRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
